import request from '@/utils/request'

// 查询指标二列表
export function listIndicatorTow(query) {
  return request({
    url: '/business/IndicatorTow/list',
    method: 'get',
    params: query
  })
}

// 查询指标二详细
export function getIndicatorTow(id) {
  return request({
    url: '/business/IndicatorTow/' + id,
    method: 'get'
  })
}

// 新增指标二
export function addIndicatorTow(data) {
  return request({
    url: '/business/IndicatorTow',
    method: 'post',
    data: data
  })
}

// 修改指标二
export function updateIndicatorTow(data) {
  return request({
    url: '/business/IndicatorTow',
    method: 'put',
    data: data
  })
}

// 删除指标二
export function delIndicatorTow(id) {
  return request({
    url: '/business/IndicatorTow/' + id,
    method: 'delete'
  })
}
